package com.dm.frontend.controller;


import com.alibaba.dubbo.config.annotation.Reference;
import com.dm.common.utils.DubboUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping
public class HomeController {

    @Reference(url = DubboUtil.DUBBO_URL_HOME,version = DubboUtil.VERSION_1, group = DubboUtil.GROUP_NAME)

    @RequestMapping("home")
    public String home(){

        return "home";
    }

}
